Release 10.1A: OpenEdge Development:
Programming Interfaces
Options for shared library routine execution
The
proc-namein theRUNstatement must match theproc-namein the correspondingPROCEDUREstatement, whether or not you declare the shared library routine with theORDINALoption. Also,proc-namemust be declared in the same 4GL source file where theRUNstatement is executed.The
parameter-listcontainsINPUT,OUTPUT, andINPUT-OUTPUTparameters in the order defined for the correspondingPROCEDUREstatement. If you specify aRETURNparameter for thePROCEDUREstatement, you must match it with anOUTPUTparameter in the correspondingRUNstatement. You cannot specify aRETURNparameter for a shared library function as aCHARACTERvariable. You must use aMEMPTRvariable to return a character string. See the "Passing CHARACTER values to shared library routines" section for more information. TheRUNstatement parameter data types must match the data types of the corresponding parameter definitions for thePROCEDUREstatement. Any mismatch causes a run-time error.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |